home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1996 #1 / Amiga Plus CD - 1996 - No. 1.iso / pd / netz / amislate_v1.3 / examplerexx / remotestringreq.rexx < prev    next >
Encoding:
OS/2 REXX Batch file  |  1995-08-05  |  446 b   |  11 lines

  1. /* An ARexx script to demonstrate how to use RemoteStringRequest
  2.    to get a string of information from the remote user.  */
  3. parse arg CommandPort ActiveString
  4.  
  5. address (CommandPort)
  6. options results
  7.  
  8. RemoteStringRequest '"'||"Remote Rexx Request"||'"' '"'||"Blade Runner"||'"' '"'||"What is your favorite movie??"||'"' 
  9. WaitEvent MESSAGE stem answ.
  10. EasyRequest "Answer" '"'||"The Remote User's favorite movie is: "answ.message||'"' "Interesting"
  11.